package com.banksoft.cps.service;

import com.banksoft.cps.bean.Material;
import com.banksoft.cps.bean.query.MaterialQuery;

import java.util.List;

/**
 * Created by rongzhao.zhu on 2018/1/12.
 */
public interface MaterialService {

    List<Material> list(MaterialQuery query);

    long count(MaterialQuery query);

    void save(Material bean);

    Material findById(String id);

    void delete(String[] ids);
}
